edit the floating code to determine what happens when you click on a voxel. position is the x/y/z of the point that you clicked on. here are some scripts you can try out. more info about the game API can be found at the voxel-engine project page.