coz I didnt find a solution, I decided to continue programming with windows-only commands (and replace them later)
so I decided to use the MouseButton() command, which requires OpenWindowedScreen()
OpenWindow(0,#window_x,#window_y,#window_width,#window_height,0,"poolgame")
OpenWindowedScreen ...