Click with AppleScript not working in chrome game

Viewed 71

Im trying to auto click some part of a google chrome unity game, but it's not actually clicking.

The problem is the unitiy game part of the screen, because when I put another coordinate in any other part of the screen, it works perfectly fine. Any ideas? This is my code

tell application "System Events"
  key code 53
  delay 1
  click at {1114, 202}
end tell
0 Answers
Related