Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var yodaGroup = new Kinetic.Group({
- x: 250,
- y: 30,
- draggable: true
- });
- I want to adjust or add to the x and y cordinates for the yodaGroup above
- using a button click that triggers this function below
- // need to figure out this funnction
- function left() {
- yodaGroup.x += 5; // move image by 5px
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement