How do i set sprite x to another x in onther layer & scale?

For developers using the Construct 2 Javascript SDK

Post » Thu Dec 22, 2016 8:56 pm

I have this situation:
Layer 1 - Scale 2
Sprite 1

Layer 2 - Scale 1
Sprite 2


I want to put the sprite 1 in the relative same position to sprite 2. But i don't know how becouse the two have diferents layer scale.
Can i get the sprite position relative another layer? Like the mouse function: "Mouse.X("layer_name")
B
14
S
6
G
2
Posts: 81
Reputation: 2,241

Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests