Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do U use the "distance" behavior in Stencyl?

I need to know the distance between two actors in order to start a timer.

share|improve this question

closed as not a real question by bummzack, Josh Petrie, Arcane Engineer, sam hocevar, michael.bartnett Jan 9 '13 at 7:30

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted

You need to create a Custom Block. With the custom block you can make your own logic, and lucky for you, the page even provides distance between actors (X distance anyway) as the example:

enter image description here

Remember the documentation is always an excellent place to start with questions like this, and Stencyl appears to have great documentation.

share|improve this answer
Great!! Thanks, you saved my LD Jam :P (Lesson leared ... check the documentation first :P ) – mFontoura Dec 17 '12 at 0:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.