Skip to content

ToggleLocalVariableAction ​

Inherits: EventAction < Resource

Action to toggle a local boolean variable

Properties ​

Stringvariable_key""

Methods ​

Stringget_function_description()
Dictionarysave()
voidload_data( data: Dictionary )

Property descriptions ​

String variable_key = "" ​

The name of the local yes/no variable that is flipped.

Method descriptions ​

String get_function_description() ​

The sentence the editor shows for the action, with {placeholders} for its values.

Dictionary save() ​

The state of the action for a save.

void load_data( data: Dictionary ) ​

Restores the state of the action from a save.