Dec-14-2018, 10:44 PM
You return it.
def wrong (wx,wy): window.blit(wrongpng, (wx,wy)) lcchange = -1 return lcchangeAnd then assign it where you call it:
lcchange = wrong(wx, wy)
.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures