lasttap tracks where the last tap happened

Use lasttap to decide things about where the dog tapped.

Especially useful to detect whether the dog touched something

tap ->
  if lasttap.touches blue
    feed()

Want to see something weird? Try this:

lasttap.wear purple

Related commands

if

wear