SupernaturalCow
Member
Hi all,
My understanding of 'display_mouse_set(x,y)' is that it will force the mouse cursor to that point whenever it's called. Currently, I'm trying to figure out 3D projection in a shader, and am getting caught up by the fact that running this code in the step event:
doesn't appear to do anything to the cursor.
Am I missing something here? Is there a function to allow cursor override, or something?
EDIT: I've discovered there's also 'window_mouse_set'... Is this any different? The docs don't really specify. The effect of both does nothing to my cursor.
Thanks in advance!
My understanding of 'display_mouse_set(x,y)' is that it will force the mouse cursor to that point whenever it's called. Currently, I'm trying to figure out 3D projection in a shader, and am getting caught up by the fact that running this code in the step event:
Code:
display_mouse_set(display_get_width()/2, display_get_height()/2);
Am I missing something here? Is there a function to allow cursor override, or something?
EDIT: I've discovered there's also 'window_mouse_set'... Is this any different? The docs don't really specify. The effect of both does nothing to my cursor.
Thanks in advance!