Behavior > Attributes


Read our article on Getting / Setting Remote Attributes for an explanation of these blocks.


For Actor

Get Attribute (for Actor)

actor-get-att-block

Gets the value of an attribute (from the specified behavior) from the actor you specify.

We strongly recommend clicking the dropdown arrow for the first blank and selecting the desired entry under Attribute Names -- this will fill everything out for you automatically.

example

[ACTOR].getValue([TEXT], [TEXT])

Set Attribute (for Actor)

actor-set-att-block

Sets the value of an attribute (from the specified behavior) for the actor you specify.

We strongly recommend clicking the dropdown arrow for the first blank and selecting the desired entry under Attribute Names -- this will fill the first and third fields out for you automatically.

[ACTOR].setValue([TEXT], [TEXT], [VALUE]);

For Scene

Get Attribute (for Scene)

scene-get-att-block

Gets the value of an attribute (from the specified behavior) from the current scene.

We strongly recommend clicking the dropdown arrow for the first blank and selecting the desired entry under Attribute Names -- this will fill everything out for you automatically.

getValueForScene([TEXT], [TEXT])

Set Attribute (for Scene)

scene-set-att-block

Sets the value of an attribute (from the specified behavior) for the current scene.

We strongly recommend clicking the dropdown arrow for the first blank and selecting the desired entry under Attribute Names -- this will fill the first and third fields out for you automatically.

setValueForScene([TEXT], [TEXT], [VALUE]);