Is it possible to have an overlay not change positions when zoom/panning?

I’m having an icon on the top-right that allows the player to view their inventory, and I’m wondering if I can “anchor” its position on-screen so it doesn’t go off-screen when zoom/panning, since I want it to be on-screen all the time. Thanks!

Use “ui” instead of overlay. This pins the overlay to the “camera”

@ui OVERLAY create
@ui OVERLAY shifts to blah blah
@ui OVERLAY scales to blah blah
@ui OVERLAY opacity blah blah

You can read more about “ui” HERE

2 Likes

I’m glad it’s a feature! Thanks Amarie :smiling_face_with_three_hearts:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.