The idea for this script was taken from the Total Overdose game. The script allows pedestrians to dynamically lean on walls, i.e. anywhere and anytime. In fact, this is a kind of algorithm where a pedestrian detects a wall and, with some probability, can lean on it and leave after a random period of time.