Hi! I was doing some work on a project, and ran into an issue.
To put it simply, I need to put a variable on screen (sadly, as I can't use printing on screen for this situation), and unfortunately, due to layering, the variable is behind some other sprites. While variables acting like this is cool, and different from what I used in scratch, here, it gets in the way of what I'm trying to do. I know how to order sprites, with the go back (1) layers block, but how do I do this with variables? And, importantly, do so without Javascript or extension blocks?
Unfortunately I don't think it's possible to change variable watcher layers without javascript and I don't think there's an extension function to do it (I don't know if there's some function in scisnap or ecraft2learn that can do it).
If you just want to bring all the variable watchers to the front or back, you can use this script.
It works because it's just telling all the sprites to go to the back layer, resulting in the variable watcher being moved to the front. Now, this block also lreserves the current layer order of the sprites, because when thebstage reports (my [other sprites V]) , it reports all the sprites in layer order (and then I have to tell the sprites in reverse order otherwise the order would be flipped).
It worked! Thanks!