Not sure if its a bug or not, but it very confusing if its intended, as it make it hard to know pinned objects actual position. Seems that if you press the button a second time it shows the correct position. If you add a wait 0.05 it works. So seems that it doesn't get updated straight away, which is very confusing.
Link to .capx file (required!):
dl.dropboxusercontent.com/u/109921357/Pin%20test.capx
Steps to reproduce:
1. Pin an object to another object
2. Move the parent object
Observed result:
When you print out the X,Y value of the pinned object, its not correct.
Expected result:
That the pinned object had the X,Y value of its current position.
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes
Operating system & service pack:
Windows 7
Construct 2 version:
r151 beta