This site requires JavaScript, please enable it in your browser!
Greenfoot back
petyritonel
petyritonel wrote ...

2019/2/20

overlay

petyritonel petyritonel

2019/2/20

#
is it possible to have an actor that covers the whole scene, but it doesn't block clicks? i would like to have an overlay above the whole game, and it would be a lot easier this way than putting it in in every different world...
danpost danpost

2019/2/21

#
To not block clicks on other Actor objects, the overlay would have to be painted first. Clicks on the World background will all be blocked, however. You could use the setPaintOrder method to place objects that clicks may be detected on in front of the overlay.
petyritonel petyritonel

2019/2/21

#
thank you for your help :)
You need to login to post a reply.