Hi, I want to move my object (image) in tkinter, but it doesn´t work. This is what I have so far:
class Playfield: ... def build_playfield(self): ... self.field_icon_player = tkinter.PhotoImage(file="player.png") ... self.canvas.create_image(j*50, i*50, anchor=NW, image=self.field_icon_player) ... for i in range(100): self.canvas.coords(self.field_icon_player, 10, 10)How can I move with this object? Coords doesn´t work in this case. Am I doing something wrong with implementing this inside a class? Thanks.