- Home /
Best Answer
Answer by · Sep 27, 2010 at 03:52 AM
Take a look at OnMouseOver
OnMouseOver is called every frame while the mouse is over the GUIElement or Collider.
function OnMouseOver ()
{
print("some content");
}
Your answer
Follow this Question
Related Questions
how to check if cursor is over as button? 2 Answers
Prevent raycast to OnMouseOver() or OnMouseEnter() when mouse over UI 1 Answer
How to check if mouse position is near position of a Vector3 on screen ? 0 Answers
While mouse is pressed and moved to a button, button should be pressed as well 0 Answers
How to disable button OnClick when drag on the screen with OnMouseDrag 2 Answers