0

How to set negative coordinates in JavaScript

I am trying to make a code in landscape mode for this - I make the screen rotated to 90 degrees but I have difficulty in pointer cordinates Please Help. https://code.sololearn.com/WlF9oA023Oj9/?ref=app

17th Aug 2023, 1:10 PM
Hemant Gholap
Hemant Gholap - avatar
3 ответов
+ 6
In line 10 change (orientation to landscape)
17th Aug 2023, 1:45 PM
Yasin Rahnaward
Yasin Rahnaward - avatar
0
Thanks Yasin Rahnaward. But I want to Rotate the screen to 90 degrees This can be done in portrait orientation, so have difficulty to change the pointer cordinates Please help in line 173 and 174
19th Aug 2023, 6:52 AM
Hemant Gholap
Hemant Gholap - avatar
0
The pointer cordinates will be X= Y Y= -x But I couldn't set it Please Help.
19th Aug 2023, 7:11 AM
Hemant Gholap
Hemant Gholap - avatar