Quote from: Khris on Sat 06/07/2019 13:01:08
Hotspot name text following the cursor is easily in the top ten of questions that have been asked and answered many, many times. The basic idea is to put a label on a GUI, put @OVERHOTSPOT@ as the label's text and have it follow the mouse inside the repeatedly_execute function by changing its coordinates to ones relative to the mouse's.
I'm also going to suggest that you start with the default template instead of the empty one; it's much closer to the game mechanics you're looking for. It already has a bar of buttons that set the current cursor mode.
I must have gotten it wrong the first time, because what I want is not that the mouse over description box should follow the mouse (maybe stay by the hotspot in question, but I think I can figure that out), but the thing is that I want it to disappear when I'm no longer holding the mouse over the corresponding hotspot.
And oh, what's the default template? I'm confused! There are four to choose from, which one did you refer to?