Smooth movement | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Smooth movement

I have a code in it, there are buttons and canvas with the help of buttons I need to create one so that the camera moves smoothly, please help. https://code.sololearn.com/WrNxLwmJ08k5/?ref=app

4th Jul 2020, 9:40 AM
Aparty
Aparty - avatar
4 Answers
4th Jul 2020, 1:53 PM
JME
+ 1
thanks but it doesn't work
4th Jul 2020, 2:28 PM
Aparty
Aparty - avatar
+ 1
Sorry that was made to work on web. If you want mobile replace mousedown/mouseup with touchstart/touchend respectively
4th Jul 2020, 2:37 PM
JME
+ 1
I was able to fix it works thanks a lot for the help
4th Jul 2020, 2:53 PM
Aparty
Aparty - avatar