ImageButtons on SurfaceGuis

When I try to use an ImageButton in a SurfaceGui (in workspace), normally when you’d click it you’d expect it to fire a click event (without a player value obviously). However, when you move an ImageButton from 0,0, it won’t fire the event at all…
I’ve tried the same thing on different SurfaceGuis in different games, with different ImageButtons, the same thing occurs. Bug occurs on both Studio and in-game.
Reproducible steps:

  • Add a SurfaceGui to a brick in the workspace
  • Create an ImageButton inside the SurfaceGui
  • Move the ImageButton to any position other than 0,0
  • Add a regular script with code to fire a Click/ButtonDown event. (Script can be inside GUI or Button, same thing occurs)

UPDATE: Also doesn’t appear to be working in PlayerGui either?

SurfaceGuis in the Workspace aren’t supposed to fire any input events. This is getting fixed soon. If you want it to fire events you should put it in the PlayerGui.

Interesting. I imagine it will still only capture events for the local client?

Yes. Other clients can’t see what’s in a client’s PlayerGui.

1 Like

Tried in PlayerGui, also isn’t working there… except at 0,0

Can you post a simple reproduction?

Here’s a uncopylocked version: