BitFlagEditor
Godot inspector plugin for exported int/flag properties
Install / Use
/learn @SquiggelSquirrel/BitFlagEditorREADME
BitFlagEditor
Godot inspector plugin for exported int/flag properties
Usage
- Install & enable plugin
- Export a property with
export(int, FLAGS, "") - (Optional) in a
toolscript, define func_get_layer_names(property_name :String) -> Arrayto set tooltips for each bit
Example
tool
extends Node
export(int, FLAGS, "") var group = 1
func _get_layer_names(property_name) -> Array:
if property_name == "group":
return ['Apples', 'Carrots', 'Apricots', 'Brocoli']
return []
Inspector when editing this node looks like:

