not sure about the 3d mouse idea, but you can already click on things in 3d world. Just make sure the entites enable click is set to on, then in a function check for the event type event_click.