- Home /
Question by
Assass1n1191 · Feb 01, 2015 at 05:31 PM ·
textcursormouse position
Make text follow cursow without any delays in Unity 4.6
I have Text attached to my Canvas and custom cursor. When i'm trying to make text follow cursor like this, text has a little delay on the cursor following.
//ammo is a Text object
ammo.rectTransform.position = Input.mousePosition;
When i'm moving cursor, text is not tough fixed with cursor, it need some time to get to the new cursor position. Is there are any methods to make it move faster?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613182115im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Input.GetAxis - Based on cursor screen position? 1 Answer
Object Name Displays fom Everywhere 2 Answers
UI.InputField: Using Alt + Arrowkey to make cursor jump to next whitespace 0 Answers
Can I somehow Screen.lockCursor off center instead of the center of the screen? (Oculus) 0 Answers
Get mouse position in Editor based on screen coordinates 1 Answer