After a lot of testing and a bit of research i can't find out how to setup the bitmask with godot engine.Thanks anyway.