-- SELECT ERASER -- -- ---------------------------------------------------------------------- -- For use with the Paint behavior. -- -- Drop this on any graphic sprite which can act as a button. ---------------------------------------------------------------------- on mouseUp(me) if the doubleClick then sendAllSprites(#Paint_EraseAll) else sendAllSprites(#Paint_UseEraser, TRUE) end if end mouseUp