You should be able to use ...
if Object.ball( entityname( picked ))<> null
[convert to ball type ]
else
[convert to platform type]
endif
Stevie
if Object.ball( entityname( picked ))<> null
[convert to ball type ]
else
[convert to platform type]
endif
Stevie