# IScriptEntity.print [← IScriptEntity](index.md) · [← Master](../../wiki.md) Parça 3/3 · [önceki](print-2.md) Clears all patrol points from the entity c.getSubject().clearEntityPatrols(); setRotationsAI void setRotationsAI(float yaw, float pitch, float yawHead) Sets the entity's AI to look with specific rotations c.getSubject().setRotationsAI(0, 90, 0); clearRotationsAI void clearRotationsAI() Clears the entity's AI rotations c.getSubject().clearRotationsAI(); executeRepeatingCommand void executeRepeatingCommand(java.lang.String command, int frequency) Executes a command at a specific frequency on an entity. {@code c.getSubject().executeRepeatingCommand("/tp @s ~ ~2 ~", 20); removeRepeatingCommand void removeRepeatingCommand(java.lang.String command) Removes a repeating command from an entity. c.getSubject().removeRepeatingCommand("/tp @s ~ ~2 ~"); clearAllRepeatingCommands void clearAllRepeatingCommands() Clears all the repeating commands of an entity. c.getSubject().clearAllRepeatingCommands();