Can a condition return any value?

For developers using the Construct 2 Javascript SDK

Post » Wed Nov 05, 2014 8:06 am

Hey,

Is there a way of doing something like:

"On [condition] thisText.setText(return value from [condition]" ?

Or I must save the return value as an expression and use it later on?

Thanks :)
B
18
S
7
G
1
Posts: 160
Reputation: 1,934

Post » Wed Nov 05, 2014 9:31 am

Using expression to get value is much better.
B
109
S
27
G
277
Posts: 4,482
Reputation: 154,924


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests