This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

danpost presents ...


Object Trail Following Demo

This is a demonstration of have an object follow a trail of point objects or a trail of line objects.

Mouse press on object to begin a new trail;
Move the mouse while button is pressed to create the trail;
Once the mouse button is released, the object will follow its trail.
Click on the switch at the top-right corner to change methods.

4526 views / 1345 in the last 7 days

3 votes | 0 in the last 7 days

Tags: mouse demo with-source danpost trail follow trace

This scenario is a member of: Demos by danpost

open in greenfoot
Your browser does not support the canvas tag.


very good :)


A new version of this scenario was uploaded on Mon Dec 16 23:10:40 UTC 2013 Added a switch that can be clicked on to change from 'Point' to 'Line' following.
A new version of this scenario was uploaded on 2020-10-29 17:10:20 UTC

Want to leave a comment? You must first log in.

Who likes this?

UNDEAD_DC JetLennit SanderDub