[SOLVED] Cursor position when not clicking

Hi there!

Is it possible to get the cursor position when not clicking (to detect hovering).

Thanks in advance,

K

1 Like

Hi!

You need to add an input binding for a mouse_trigger. Then in your on_input function you will receive actions with action_id set to nil but with cursor relevant fields such as action.x etc. You should be able to use this to catch cursor hovering. Good luck! :slight_smile:

6 Likes

Awesome!

Exactly what i was looking for.

Thanks!

K

1 Like