Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Favkis |
something like layer_mask layer_collision has int checklist, I want something similar? Is there any option?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Favkis |
something like layer_mask layer_collision has int checklist, I want something similar? Is there any option?
Reply From: | jgodfrey |
The layer mask is a bitmask value. You can do something similar like this (for example):
export(int, FLAGS, "Fire", "Water", "Earth", "Wind") var spell_elements = 0
However, the UI representation isn’t exactly like the layer mask.
See the docs for additional details: