Nucleus handler tools โบ Docs โบ Game โบ DrawFakeMouseCursor
Game.DrawFakeMouseCursor
Open in the workbench (search, and try it in a handler)
Game.DrawFakeMouseCursor: boolean
Deprecated: use Proto Input instead (see https://www.splitscreen.me/docs/proto).
This enables the fake mouse cursor to be drawn over the game by Nucleus Coop.
If the game uses a custom cursor, you will probably not need this option. (This will be obvious if you see the games custom cursor and a fake cursor drawn over it).
Be aware this is a 'fake' mouse cursor in the sense that Nucleus Coop will fake mouse input to the game via the other options and then the fake mouse cursor is drawn where the game should be responding to mouse input.
The fake cursor is drawn by creating a large transparent window over the game. This may prevent the game from receiving mouse input from the 'real' Windows cursor. It is sometimes useful to disable this while testing.
Default: true ยท Category: Support for multiple mice and keyboards
In practice
Read by Nucleus' own fake cursor (GenericGameHandler.cs, GlobalWindowMethods.cs), from before Proto Input. The Proto Input guide lists it among the options a Proto Input handler must set to false explicitly (some of them default to true), so Proto Input handlers set it false (Proto Input draws its own with ProtoInput.SetDrawFakeCursor). Only the few handlers that use Nucleus' own keyboard and mouse input instead of Proto Input set it true.
Game.DrawFakeMouseCursor = true;