GUI in 3d problem

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Hexadotz

My problem is pretty complex and chances are its impossible to fix it. yet ill try anyway
Ok so i was looking for a way to make an interactible ui in a 3d scene and i found this asset demo
It does exactly what i need so i tried it when i tested it it worked fine but the moment i changed to fullscreen the Buttons no longer respond i was confused at first then i found the reason my project stretch mode is set to viewport while the assets is set to disabled so maybe the Buttons collision Shape (where it detect the mouse) gets changed because my stretch mode is viewport
So I don’t know what to do its very complex situation i know its because the stretch mode but i don’t know why they behave this wierd way if you know what’s the exact or approximate reason for this im more than happy to listen

If you want to help me with this problem i have a discord account so you can contact me there its


You can always use raycasting to detect buttons collision, no matter the screen size. Check out Camera3D methods

Inces | 2022-09-19 14:50

Really?? How would they work? Do i just make a sprite with viewport and use that method and it will detect button collision just like that??

Hexadotz | 2022-09-19 22:59