From WikiManual
Jump to: navigation, search

.reftype is memory location 685. This returns the type of object in the focus eye.

If the focuseye is looking at a bot, it returns zero. If it sees a shape, it returns one.

Added in 2.42.9f.

As of version 2.46B if robot does not see anything in focus eye but touch a shape its reftype is still one.