PickedEntity seems not constant, help

Blitz3D Forums/Blitz3D Programming/PickedEntity seems not constant, help

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

this also works:
global Building = Loadmesh("Building.B3d" )

.....
Camerapick ( Camera, mousex(), mousey() )
If PickedEntity() =building
runtimeerror "you picked the building"
Endif

just in case you didnt know...