when i click a button I want to show and hide an image. I have this code:
Code: Select all
set the Hilite of the Target to not the Hilite of the Target
if the Hilite of the Target = true
then
set the visible of img "image.png" to true
else
set the visible of img "image.png" to false
end if
it works finde but I have this little problem. On the first click nothing happens but after the second click every click toggles between hiding and showing the image. I would like the first click directly to show the image. Can someone help? Thanks
Best
Marko