Simulated Mouse clicks in unity3d

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
antari6675
Newbie
Posts: 1
Joined: Mon Jun 17, 2024 1:56 pm

Simulated Mouse clicks in unity3d

Post by antari6675 » Mon Jun 17, 2024 1:58 pm

How would I simulate a mouse click in unity.

I can set focus on the window, but the traditional movemouse, etc doesn’t recognize the window.

Thanks

Jessie

User avatar
Grovkillen
Automation Wizard
Posts: 1062
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Simulated Mouse clicks in unity3d

Post by Grovkillen » Mon Jun 17, 2024 3:19 pm

Unity allow for disabling of automation perhaps? Tried running the script as Admin?

Another thing, unity probably use the relative mouse position inside the window.
Let>ME=%Script%

Running: 15.0.24
version history

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts