SOLVED Moving Objects to Another Layer

Telorr

Member
Hi!
I need your help.

Can I move an object to another layer? Example, I want to move object "A" which originally from layer "X" to layer "Y".
If you know how to do this, please answer my question. Thanks!
 

Telorr

Member
I haven't used layers but I searched the manual and layer_element_move(element_id, layer_id) looks promising.
I don't understand layer_element_move yet.
I just want to move an object to behind the player when I press "D" and back to the original layer (in front of player) when I press "A".
Is there any alternative for my trouble?
 
Top