Update for the mouse functionality

It can now detect if you are close enough and have to mouse over the
object.