#Having an issue with a RawImage UI
1 messages · Page 1 of 1 (latest)
`void CursorMove()
{
cursorObject.transform.position = new Vector3(0, cursorBaseY - 15 * curSel, cursorObject.transform.position.z);
}`
`void CursorMove()
{
cursorObject.transform.position = new Vector3(0, cursorBaseY - 15 * curSel, cursorObject.transform.position.z);
}`
The cursor is going up and down as it should be but for some reason it gets move to like negative -950;
Also, it seems to change position based on the resolution of the screen. I've looked through the documentation and couldn't find anything but perhaps I overlooked something. The settings for the RawImage prefab match 1:1 with the ItemText prefab so I'm not sure what is binding the RawImage to the resolution.
When I change the resolution, you can see here what it does with the cursor: