Very New - A few Questions

Hey everyone, I'm extremely new to creating games with Game Salad.
I have been messing around for a few hours now, and I think I will begin by asking how could you get an actor to physically slide from one place to another.
Such as a checkpoint to move on to the next stage, but limiting the area it is allowed to be slid in.
Currently, I am trying to make my object (actor) move up to match the background picture, for a tutorial.
Thanks,
Arm Z
I have been messing around for a few hours now, and I think I will begin by asking how could you get an actor to physically slide from one place to another.
Such as a checkpoint to move on to the next stage, but limiting the area it is allowed to be slid in.
Currently, I am trying to make my object (actor) move up to match the background picture, for a tutorial.
Thanks,
Arm Z
Comments
Best of luck!
Henry Abrams
Sorry I wasn't very informative. If you could tell me how to find the coordinates of a spot, maybe that would be easier?
How would one go about clicking on an actor, then clicking somewhere else on the screen, and the actor seems to teleport or simply appears on the second click?
inside the actor, make a rule that says when touch is inside change attribute game.inside to true.
then make a rule that says when touch is outside and game.inside is true, change attribute self.position.x to game.mouseposition.x and change attribute self.position.y to game.moustposition.y. and change attribute game. inside to false.
Just thinking aloud, but maybe it'll work.
youtube Cookbook page
http://www.youtube.com/user/GameSaladCookbook
How would one go about clicking on an actor, then clicking somewhere else on the screen, and the actor seems to teleport or simply appears on the second click?
Make an attribute (to check if you have touched the actor) - let's call it 'clicked'.
Rule 1 - If touch is pressed change attribute 'clicked' to 'true'
Rule 2 - if 'clicked' is 'true' and mouse button is down then . .
Change attribute - position X to mouse position X
Change attribute - position Y to mouse position Y