Hi, I'm trying to manage the collision layer and collision mask, but, I notice that they are binary numbers.
So, I think, I need a variable that increases its value in power of 2, for example 1, 2, 4, 8, 16, 32 and so on, and beside,that can has a limit, for example, 1, 2, 4, 1, 2, 4, 1, 2, 4 etc.
I know Godot can work with hexadecimal numbers but I don't found some example of binary numbers.
How can I make what I want to do? Or what is the right way to make this?