https://osbot.org/api/org/osbot/rs07/event/WalkingEvent.html
For example:
Area myArea = new Area(x, y, x, y);
WalkingEvent walkingEvent = new WalkingEvent(myArea);
execute(walkingEvent);
Using events like this also means you can change certain event settings, read it all in the api mate.