Tests examples for the miniworldmaker engine https://www.miniworldmaker.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
miniworldmaker_cookbook/snippets/8 Events/808_mouse_token_events.py

12 lines
224 B

from miniworldmaker import *
board = Board(120,40)
circle = Circle((20, 20))
circle.direction = 90
def on_mouse_left(self, mouse_pos):
if self.sensing_point(mouse_pos):