I am trying to make a map, I currently have the function of the map pointer moving and it works perfect with the image while stationary, however, I am having trouble with the map image staying in conjunction with the pointer. If it helps, imagine the map on gta 5 where the map moves as your character moves. I tried setting the anchor point to the pointer and updating the image position, I also tried using the map origin and subtracting that by a conversion factor of .5 but I am still lost and would love an explanation if someone could explain the logic, thanks.
I made the minimap. It works perfectly, now I am trying to change the maps position to also move with the mouse pointer. A lot of those tutorials are just using a viewport frame and copying it inside of that frame, then updating the workspace’s camera. Here , I am using math to get the maps size, center, and a conversion factor to update the pointer. None of those tutorials that I have seen has what I am looking for.