Loading...

Logo
DocumentationBehaviorsObjectGet Object
Object

Get Object

Last updated September 28, 2018

Description

Get the details of a selected object to use in other behaviors.

Properties

Triggers Immediately

ObjectSelect the object you wish to get the details of.
Get Object ByGet the object by its ID or its name.
Get Objects by TagGets all objects containing a specified tag.
Get Objects in LayerGets all objects in a specified layer.
Get All ObjectsGets all active objects in the scene.
Object IdentifierThe ID or name of the object you would like to get the details of.

Outputs

X

This outputs the X position of the Object.

Y

This outputs the Y position of the Object.

X Scale

This outputs the object's scale on the X axis

Y Scale

This outputs the object's scale on the Y axis.

X Skew

This outputs the object's skew on the X axis.

Y Skew

This outputs the object's skew on the Y axis.

Rotation

This outputs the object's rotation.

Tags

This outputs any tags attached to the object as an array.

Object ID

This outputs the object ID. If multiple objects are found, this will be an array of object IDs.

Object Name

This outputs the name of the object.

Examples

Download Example Project

Get Attribute

Get Objects by Tag

Set Attribute