entitypick return code number..

Blitz3D Forums/Blitz3D Beginners Area/entitypick return code number..

That is the integer pointer to the entity itself. Assuming you've created global references to the target entity ...


global MySphere = createsphere()
global MyCUbe = createcube()

target = PickedEntity()

if Target = MySphere {do something with mysphere}
if Target = MyCube {do something with mycube}