turtle.tilt() function in Python Last Updated : 15 Jul, 2025 Comments Improve Suggest changes Like Article Like Report The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.tilt() This function is used to rotate the turtleshape by the angle from its current tilt-angle, but do NOT change the turtle's heading (direction of movement). Syntax : turtle.tilt(angle) Below is the implementation of the above method with some examples : Example 1 : Python3 # import package import turtle # set turtle screen sc=turtle.Screen() sc.setup(500,300) # set turtle turtle.speed(1) turtle.up() turtle.setpos(-200,0) turtle.down() turtle.shape("square") turtle.width(2) # motion turtle.forward(200) # tilt turtleshape by 45 turtle.tilt(45) # motion turtle.forward(200) Output : Example 2 : Python3 # import package import turtle # set screen sc=turtle.Screen() sc.setup(500,350) # set turtle turtle.speed(1) turtle.up() turtle.setpos(-50,100) turtle.down() turtle.shape("turtle") turtle.width(2) # loop for pattern for i in range(6): # motion turtle.forward(100) # tilt turtleshpae by 180 turtle.tilt(180) # print turtleshape turtle.stamp() # move to right by 60 turtle.right(60) # hide the turtle turtle.ht() Output : Comment More infoAdvertise with us Next Article turtle.reset() function in Python D deepanshu_rustagi Follow Improve Article Tags : Python Python-turtle Practice Tags : python Similar Reads turtle.seth() function in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.seth() This method is used to set the orientation of the turtle to to_angle. 2 min read turtle.setx() function in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.setx() This method is used to set the turtle's first coordinate to x, leave 1 min read turtle.sety() function in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.sety() This method is used to set the turtle's second coordinate to y, leavi 1 min read turtle.stamp() function in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.stamp() This method is used to stamp a copy of the turtleshape onto the canv 1 min read turtle.reset() function in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.reset() This function is used to delete the turtle's drawings and restore it 1 min read turtle.settiltangle() function in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.settiltangle() This function is used to rotate the turtleshape to point in t 2 min read Like