- Home /
Question by
Bawnty · Apr 18, 2016 at 01:13 PM ·
canvaspositioning
Canvas origin does not match cursor origin.
I have a project with a UI Canvas, and an Image as a child of that canvas. When looking at the inspector the image supposedly has the position of (imagewidth/2, imageheight/2), displaying itself fully in the bottom left of the screen. However when using Image.transform.position x/y, I'm returned a number relative to the parent canvas.
The origin of the canvas appears to be at exactly the center of the canvas while the origin for the mouse and the inspector is the bottom left? I'm trying to bring the canvas into this line of positioning also.
Comment