I have a problem with camerapick

BlitzMax Forums/MiniB3D Module/I have a problem with camerapick

Sanctus(Posted 2007) [#1]
Okay so I did a small test and the camerapick command works ok.
Then I put the gfx in a canvas and tryed with that... Somehow now it doen't work anymore.
Local pick:Tentity = CameraPick(cam.cam,x,y)

I get a null pick. Oh and x = eventx(),y = eventy() (its actioned when I click on the canvas) (I also tryed with mousex(),mousey()