I am trying to create tooltips for UI inside of a surface GUI, however, it only works about 50% of the time. One time I start the studio it doesn’t, next time it does. Even with always on top. Is there a work around?
You could probably Raycast and see if it’s hitting the part with the surface GUI on it.
Probably the most reliable way in my opinion.
This part with the surface gui has a scrolling frame of multiple items. How can I detect that one?
I’m not sure because I’m pretty sure SurfaceGui objects’ positions are UDim2s so I’m not really sure.
I thought it was only a frame lol. I’ll look thru some docs for you.
Surprisingly though, many others have complained about SurfaceGuis being unreliable.
Honestly i think your best bet would be having a MouseButton1Click script in a TextButton rather than being able to hover over it and display the tip (however I’m pretty sure you have a function for the MouseButtonClickEvent tho).
try putting the surface gui in StarterGui and set the adornee to your part? i dont really know if that will make a difference
Usually I will adornee a StarterGUI UI to the part and have the Client listen for Mouse movement, try that instead.
Thought this worked, but nope.
if the surface gui isn’t in playergui with its adornee set to the part, then do that. If it is then, no it probably isn’t going to ever be reliable enough
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.