Can I create export var that'll be checklist?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Favkis

something like layer_mask layer_collision has int checklist, I want something similar? Is there any option?

:bust_in_silhouette: 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: