How would I go about detecting whether the mouse is on an object?
Check the script reference for MonoBehaviour.OnMouseOver