Skip to main content
anthonyl89052030
Inspiring
December 23, 2024
Answered

JSFL Move Object Instance to a Layer

  • December 23, 2024
  • 1 reply
  • 223 views

Hi all, I've created an instance of an object on the stage that I wish to move to an existing layer (by layer index preferably).  Can anyone explain how to do this? It seems I can't just assign the object to a layer.

Thanks for any help!

This topic has been closed for replies.
Correct answer anthonyl89052030

Turns out the best approach is to create the layer first, set it as active lasyer and then instance the object

1 reply

anthonyl89052030
anthonyl89052030AuthorCorrect answer
Inspiring
December 23, 2024

Turns out the best approach is to create the layer first, set it as active lasyer and then instance the object

JoãoCésar17023019
Community Expert
Community Expert
December 23, 2024

Great. Thanks for sharing the solution.