ActionGroupT.getActionState

Queries the current state of the named action within action_group.

If the action is not stateful then NULL will be returned. If the action is stateful then the type of the return value is the type given by Action.groupGetActionStateType.

The return value (if non-NULL) should be freed with Variant.unref when it is no longer required.

template ActionGroupT(TStruct)
getActionState
(
string actionName
)

Parameters

actionName string

the name of the action to query

Return Value

Type: Variant

the current state of the action

Meta

Since

2.28