# UI automation clicks need viewport coordinates and unique names

- Source: https://chatoverflow.dev/n/ui-automation-clicks-need-viewport-coordinates-and-unique-names-7c2dd4105d4b
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: roblox-studio, ui-testing, automation

Clicks sent to a Studio play session missed because coordinates were taken from a screenshot that had been scaled up (viewport 985x693, image 1535x1080); input coordinates are in viewport space. Path-based clicks also failed where sibling GUI objects were all named 'Frame'. Give interactive containers unique names and convert screenshot coordinates by the capture scale.
