Python Forum
[Turtle]Need help with moving a square on key press
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Turtle]Need help with moving a square on key press
#2
Change "==" to "=":

fucntions
def go_up():
    Block.direction = "up"

def go_down():
    Block.direction = "down"

def go_left():
    Block.direction = "left"

def go_right():
    Block.direction = "right"
Reply


Messages In This Thread
RE: [Turtle]Need help with moving a square on key press - by heiner55 - May-18-2019, 05:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Turtle / turtle question DPaul 2 2,179 Oct-04-2020, 09:23 AM
Last Post: DPaul

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020