hello,
I would like to have the same idea as the 4 buttons have in this forum, when you post a new message: 4 buttons: load, save, preview, submit.
When you point at it with your mouse, it'll light up. When your mouse is not on it, it will be a regular button again.
In my game, the blocks are next to eachother.
In general, the code is:
- if mouse on block>highlight
- if mouse not on block>no highlight
This basically works, but the undesirable effect is, that when the mouse goes from block 1 to block 2, block 1 stays highlighted, because the mouse is still on "block" (although it is block 2).