li7mc0
I’m working on a tool for streamers that is supposed to be overlayed on top of a stream’s screen in programs like OBS. I want to capture the cursor position in order to make the character look at it, as shown in the video, but -here’s the catch- when the game is minimized. Currently, when the game is out of focus it’s perfect. When I minimize the game the character looks at the right-bottom corner of the screen, ignoring completely the cursor.
I read in an older thread that Unity disables some inputs when the game is out of focus as a security measure (to prevent keylogging an the like). But that seems to have changed, since I can in fact get the cursor position when the game is out of focus, though not minimized.
Can this be done?