I wanted to make a lab for my students, so i created a small mockup where a box touches a scale and text appears to show the weight of that object, but how do i make it so that when the box isnt on the scale, the text disappears.
Develop games in your browser. Powerful, performant & highly capable.
If there is only one instance of each object, you can use inverted "Is overlapping" condition:
Box Is NOT overlapping Scale : Set text invisible
But this won't work if there are many boxes. In that case you can try something like this:
On every tick : Set text invisible Box Is overlapping Scale : Set text visible