How to make panning and zoom in and out on UI map

I want to make a minimap where you can zoom in and out and pan the map, how would one do this? Is there a GUI frame that allows me to do this or do I have to script this effect myself?

There’s nothing built in that does this. But you can script panning fairly simply by changing the Position of an ImageLabel whose Parent has ClipsDescendants set to true. Getting scaling to work is a bit harder because it needs to zoom into/out of a specific point on the map (e.g. the center of the window that’s visible).

1 Like