Moving A Player

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
LemonLimeLife
Posts: 5
Joined: Sun Dec 15, 2013 2:01 pm

Moving A Player

Post by LemonLimeLife » Mon Dec 16, 2013 12:31 am

Hi I am extremely new to livecode (started today :P) and I am wondering how do get an image (I named it box) to move left when I hold down a button named left?

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Moving A Player

Post by Simon » Mon Dec 16, 2013 1:43 am

And the dictionary to the rescue!
Look up "left" :)

But you'll want more because I'm guessing you want it to keep moving?
Swooping in again comes the dictionary... "mouseStillDown" :D

Now in the end you probably wont want to use that method, but it will get you going.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

LemonLimeLife
Posts: 5
Joined: Sun Dec 15, 2013 2:01 pm

Re: Moving A Player

Post by LemonLimeLife » Mon Dec 16, 2013 1:56 am

alright thanks :)

Post Reply