Set Attribute
Set Attribute sets the value of an attribute on an entity. A detailed explanation of controls and interface functions is described in the section State Machine Builder User Interface.
Within the edit Simulation section of the HyperSkill Desktop application, navigate to the State Machine tab.
Click on the desired state and, from the dropdown in either the entry or exit actions, select the type Set Attribute.
Press the + button to add the action to the action list.

Select an entity with the
dropdown. It is populated with every VO and VP in your space.From your selected entity, select the Attribute from the
dropdown. It becomes selectable after you select an entity, and lists every Attribute that currently exists on that entity.With an attribute selected, you can enter the Value field. It tries to fill itself out with a suitable value based on the attribute type. For example, Boolean attributes fill in True. The Value is entered as a string regardless of type.
For the Snapped attribute, the syntax is <VO Name>.<Hitbox Name>, where VO Name is the string given when the object was selected with the selection tool.
Last updated