Image Button - Not Clickable

image
Explorer

image
Properties

image
Properties of the frame its above

Its in a frame, not just a part.

There isn’t a script inside the ImageButton? You should double check for any MouseButton1Click events that should activate that ImageButton, if not then create a script that will detect the Input

The script is above,

Its a self checkout model by the way.

Why the hecc is this in #development-discussion

Could we see what the Engine script is supposed to activate?

Assistance.MouseButton1Click:Connect(function)

print(“hello”)
end)

I’ve tried it with other things and nothing works.

other buttons inside this billborad or surface gui works fine?

Try to turn on property AlwaysOnTop.

I’ve ran into this problem before.

Is .Active set to true? That could be the issue.

1 Like

I see the engine script is a server script. Assuming that is what you’re using to detect user input, it should be done on a client (as the server cannot detect user click or anything besides ProximityPrompts) script then using remote events and remote functions to communicate between the client and server.

It can, you just need to use .Activated event.

@FracturedSoftware Since its a surface GUI it will work.
@zezegooglekid Yes
@Aanggoodluck Yes everything else works fine just not image labels for some reason.

Try this

local function:Connect Player.Click
– wait 5 seconds after the player clicked
local delay = 5
end
Player.Script = Parent.Child when child click.function activated
Player.GUI.Click = activated.WhenChildClicked
delay = 1
Player.GUI.Click = activate
PlayerGUI.Visible.Parent:Connect (function()
Player.GUI.Visible.Parent.delay:Connect.Click
when child clicked
Gui = Visible:Connect.Child.Parent.activated.WhenChildClicked
GUI.Parent (function) makes child.Gui.Visible
MouseButton1Click:Connect(function()
Player.Script.Gui.Visble
end

Also why is this in #help-and-feedback and #help-and-feedback:game-design-support this is scripting.

This is in this category since I’m not sure if its a way I’ve designed the UI or if its my script. But I can’t see it being my script since I’ve tried the exact same function in a Text Button. And I can’t find what other category to put it in.

You seem to be completely ignoring some replies on here. StarterGuis patented to parts won’t register any input. Parent it to StarterGui instead and use the Adornee property to select the part it appears on. Trust me, I’ve been here before. It will fix all of your issues. No need to look into scripts.

Alright let me try it. Thanks for reminding me :slight_smile:

I know this reply is pretty late but I just want to share my solution on how I fixed this problem

I just created an ImageLabel instead of an ImageButton and placed an invisible TextButton on the ImageLabel and changed the code to detect mouse button click on the TextButton. I hope this method will fix your problem. :happy1:

2 Likes

I came across the same issue, and it didn’t work.

Thank you so much for your help, i’ve tested it and it works!

1 Like