How can I make a movable object in a GUI?

Started by NoUsername28 on Sun, 10/23/2022 - 10:15

Topic category: Help with modding (Java Edition)

Last seen on 11:42, 29. Oct 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can I make a movable object in a GUI?
Sun, 10/23/2022 - 10:15

I'm making a world map where you can choose a zone to do (its a mod only for a world I'm making so the map is made by me)

There are different levels on the map, when you press the arrow keys, you choose which one to go:

So the question is, how can I make the map move to the level I want? (the map is a single image)

Showing level 1Showing level 2