0
js mousemove and write text
I want to write specific text while moving the mouse. I need your advice Which functions do I need?
5 odpowiedzi
+ 2
kokito please write your code here in sololearn playground and post a link to it.
+ 1
Using mousemove you can only draw lines and then write using draw canvas .Google for canvas in html and how to set event listener for mouse moves on it to draw lines.
+ 1
You have to understand first canvas and 2d context .You will use addEventListener()
0
HBhZ_C which function on event i need?
0
HBhZ_C https://ibb.co/16hT2RX this is example. when i move mouse write text. example "hello world"