Instructions
Load "LittleBigPlanet" and enter Creation mode. Load an existing game level or start a new one.
Open the Creation menu by pressing the "Square" button. Open the "Toolbag" menu and select a sackbot to set down in the game world.
Open the Creation menu again and select the "Popit" tool. Select the sackbot with the Popit tool to open its setting options.
Scroll down to highlight the sackbot's "Behavior Settings," indicated by a brain icon, and go through the options until you find the Patrol behavior, which features an icon of a sackbot going in a circle.
Press "X" to accept the new behavior, at which point your sackbot begins patrolling the area.