Skip to content

Lesson 5

The Transform: where, turn and size

Every GameObject has a Transform. It says where it is, how much it turns, and how big it is.

10 minDraft

Draft lesson: nobody has followed it from start to finish in the editor yet, so a step may not match what you see.

Video coming soon

We are making a video for this lesson. For now, follow the steps below!

In this lesson you will

  • Find the Transform in the Inspector
  • Change position, rotation and scale
  • Know which way Y goes

Every GameObject has one

Click a GameObject. At the top of the Inspector, you see its Transform.

Picture coming soonThe Transform in the Inspector

SettingWhat it means
PositionWhere it is. X goes left and right. Y goes up and down
RotationHow much it turns
ScaleHow big it is. 1 is normal. 2 is twice as big

Up is minus!

Here, Y gets bigger going down. To move something up, make Y smaller.

Move it with the mouse

Click the Move tool in the toolbar. Then drag your GameObject in the Game panel. Look: the Position numbers change!

Picture coming soonThe Move tool in the toolbar

Try this

  • Set Scale X and Y to 2. Then try 0.5.
  • Change Rotation. Which way does it turn?
  • Make Position Y smaller. Did it go up?

Try it here

Coming soon

Your mission

Change Position, Rotation and Scale, and watch the sprite change.

Soon, a small piece of the editor will be right here, so you can practise without leaving the lesson. For now, try it in the editor!