Nov-17-2018, 12:04 PM
Ah! Sorry, I didn't look carefully enough. Your function takes name as an argument and isn't actually using it. Instead, you're resetting immediately to tl.Turtle. Also, that line needs to be name = tl.Turtle() Try this instead:
import turtle as tl orbs = [] #Screen home = tl.Screen() home.bgcolor("black") home.title("Home Screen") #Orbs def makeOrb(life,x,y): global orbs name = tl.Turtle() name.penup() name.color("green") name.shape("circle") name.write(life,align="center") name.setposition(x, y) orbs.append([name, life]) makeOrb(3,2,2)