turtle.RawTurtle.stamp

RawTurtle.stamp()[source]

Stamp a copy of the turtleshape onto the canvas and return its id.

No argument.

Stamp a copy of the turtle shape onto the canvas at the current turtle position. Return a stamp_id for that stamp, which can be used to delete it by calling clearstamp(stamp_id).

Example (for a Turtle instance named turtle): >>> turtle.color(“blue”) >>> turtle.stamp() 13 >>> turtle.fd(50)