A quick tutorial on tracking the mouse with an object in Blender. This leads to endless possibilties on creating blocks dynamically or moving a character by clicking.
The Python codes:
https://dl.dropboxusercontent.com/u/226148835/Python_MouseTracking.txt
source