ReferenceScripting APIMotionSceneremove
MotionScene.remove
methodTakes a layer out of the scene while it plays (the scene's file is as it was).
| Name | remove |
|---|---|
| Kind | method of MotionScene |
| Called as | scene.remove(…) |
| As a node | Remove Layer (logic graph) |
| Since | 0.4 |
Syntax
remove(layer: string): voidParameters
| Name | Type | Description |
|---|---|---|
layer | string | The layer's name or id |
Returns
Nothing.
Remarks
What's asked of it afterwards does nothing; the console says so once.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.