Hi Klaus! )
This realization of tooltips.
While the cursor is over the layer - layer[hint].visible, true
At this time, "loop" is blocking the code - layer[hint].visible, false
Once the cursor fled (hovering=false), running - layer[hint].visible, false
But I want to be able to interrupt the "loop" by clicking.
All code runs through "onover".
|
Source code
|
1
2
3
4
5
6
7
|
loop(hovering,
oninterrupt(break);
wait(0);
set(layer[hint].visible, true);
);
set(layer[hint].visible, false);
|