How do I get text object's text?

For developers using the Construct 2 Javascript SDK

Post » Sat Aug 20, 2016 10:09 am

I want to get text object's text this.inst.text inside behinstProto.onCreate, but the result always undefined. Why?
But when I console.log(this.inst) the object clearly has a text.
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
64
S
14
G
2
Posts: 291
Reputation: 6,666

Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests