Why not code for your Hamster to come to rest when it detects an object?
Click on the image below to download the online PDF textbook.