Any function to read mouse input faster?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Drawsi

I’m trying to make a drawing program but I can’r find a _func to read the mouse position faster then the 1frame so it starts forgetting to add blocks where I went with my mouse over.

You should try to generate blocks between the previous and current position.

juppi | 2020-06-21 13:03

You can use Bresenham’s line algortihm to draw blocks between two lines.

Calinou | 2020-06-29 12:55