Hello there!
I have a problem i can't quite solve and maybe i am missing something simple.
In a scene i need to change on ordering of displayed objects depending on player actions. For example, imagine a player is painting, if player clicks red button (on screen), an object (a splash of red paint) is displayed. If player then pressed green button, an object (a splash of green paint) should be displayed on top of the red splash (with parts of red splash still visible underneath).
I want it to be indifferent to the ordering of buttons pressed (red first or green first). But i always get the color, that is higher in scene ordering in visionaire, on top.
I tried doing
this method, but it does not seem to be working in my case.
So, can i change a layer order of objects in a scene in game to change their visibility order?