Ignore native Cursor

I’ve created a sprite with a script that mimics a cursor. It uses Canva’s Graphic Raycast and PointerEventData to simulate the OS cursor. However, I can’t find a way to ignore the OS cursor. So I have two cursors on my scene.

Even if I lock and hide it, it still fires mouse events.
Is there any way to disable it?

PS:[META] The tags (Topics) field never finds a match. Luckily, It worked with “#pragma”. Otherwise I wouldn’t be able to post this at all. Sorry for the weird tag.

In the EventSystem GameObject, you can deactivate the “Standalone Input Module” component to ignore the main mouse events.