Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to Move the Canvas or Change Any of the Transform Values

I am using Unity 5 and I started to make a menu scene. When I made the canvas, all of values under the Rect Transform component are locked and it says "some values driven by Canvas." The only thing I can change is the z position when using the gizmo in the editor. I can't reset the position or anything. Why is this happening? Screenshot

like image 958
dsiegler19 Avatar asked May 07 '16 22:05

dsiegler19


People also ask

Can you move canvas in unity?

I searched a bit and I learned that you can move canvas like a normal gameobject.

How do I change the canvas size in Unity 2d?

To change the screen size, go to the Game window (accessed by the menu "Window->General->Game"). At the top of the window will be a screen size menu (outlined in green, below) to change the screen size. When pressed, it will display the list of screen sizes that will be emulated.

How do I change the rect transform position in unity?

For a non-stretching Rect Transform, the position is set most easily by setting the anchoredPosition and the sizeDelta properties. The anchoredPosition specifies the position of the pivot relative to the anchors. The sizeDelta is just the same as the size when there's no stretching. Save this answer.


2 Answers

This means that the canvas's canvas component has it's render mode set to Screen space - overlay. This forces it to be the size of the screen. Change it to World Space and it will allow you to resize it and move it around.

like image 165
Danny Herbert Avatar answered Sep 21 '22 08:09

Danny Herbert


Canvas is depend on game tab in your window panel. Adjust panel by use of close tab or resize panel or doc game panel. It will help you make default 800 X 600 canvas.

like image 21
Santanu Pal Avatar answered Sep 18 '22 08:09

Santanu Pal