Reputation: 69
What is the best way to group together a number of shapes on a canvas? I am making a game map, and I want to be able to move the rectangle shape (the map background) and have the shapes on the map move with the background? Thanks, please be very specific, i'm a noob
Upvotes: 2
Views: 2210
Reputation: 887767
Replace the rectangle with a nested Canvas
and put all of the "child" shapes in that canvas.
Upvotes: 4