Move to Layer

Description

The Move to Layer behavior will move your selected object to another layer in your scene. Remember, objects on different layers can not collide with each other. You can learn more about layers from the Layers documentation.

This behavior will Trigger an event immediately.

 

Properties

Object A

This is the object that will be moved to a new layer. By default the current object is selected, but you can tap the graphic and choose any other object in your scene.

Layer

Select which layer you want to move the object to.

Outputs

This behavior has no outputs

Examples

 

This behavior could be used to a gameplay element to make you character avoid objects falling towards it. ie. rocks rolling down a hill, switch the layer to avoid the rockers.

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk