dimanche 30 octobre 2016

Creating an if statement for two tkinter shapes entering the same coordinates?

I've been doing some research online and toying around with my code, but I can't seem to figure out how to create an if statement for my shapes created using tkinter-canvas.

It's difficult to word this correctly, but I would like to know how to create a condition where if two of my shapes enter the same coordinate area, I can make something happen.

How would you identify your shape or tags = " " in the statement? Would you create a boolean statement for if it is in a certain coordinate range?

Aucun commentaire:

Enregistrer un commentaire