Forum Discussion
Arystian-Inglot
7 years agoCommunity Member
[JS] SET OBJECT POSITION
Hello,
is it possible to set an object position (x,y) using javascript when, for example, user clicks the button?
PrzemysławHubis
7 years agoCommunity Member
It is :)
Sample:
https://slchallenges.s3.eu-west-1.amazonaws.com/JSMoveTest/story_html5.html
Source in the attachment
BrianAllen
7 years agoCommunity Member
Przemysław, pretty cool... Took me a minute to figure out your example uses the arrow keys on the keyboard, but I like it!
Related Content
- 6 months ago
- 11 months ago