Forum Discussion
Arystian-Inglot
6 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?
WaltHamilton
5 years agoSuper Hero
You can use a motion path. Set the start x and y values to the location you want, and the length to 0.
IvanParascandol
5 years agoCommunity Member
Oh I was asking if there was a way to do it via Javascript, similarly to how it was being done in the example posted by Przemysław Hubisz. I've got some items that I need to move dynamically so I can't use any pre set positions.
- MathNotermans-95 years agoCommunity Member
Check my post with attachment and link. This way you can animate anything dynamically.