# Coordinates for a point vector inside an object vector

**URL:** https://forum.kirupa.com/t/coordinates-for-a-point-vector-inside-an-object-vector/331412
**Category:** Uncategorized
**Created:** [July 26, 2013, 11:53am UTC](https://forum.kirupa.com/t/coordinates-for-a-point-vector-inside-an-object-vector/331412 "2013-07-26T11:53:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![codeBeast](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@codeBeast](https://forum.kirupa.com/u/codeBeast)
#### Post date: [July 26, 2013, 11:53am UTC](https://forum.kirupa.com/t/coordinates-for-a-point-vector-inside-an-object-vector/331412/1 "2013-07-26T11:53:43Z")

</div>

[COLOR=#333333][FONT=adobe-clean]Hi - I’m trying to make my cloudExplosion mc appear at the same position as a tile/actor mc clicked. That actor mc is inside a point vector and those point vectors are inside an Object vector.[/FONT][/COLOR]  
[COLOR=#333333][FONT=adobe-clean]cloudExplosion.x = tileVector[visitedVector\*.x][visitedVector\*.y][/FONT][/COLOR]  
[COLOR=#333333][FONT=adobe-clean] [/FONT][/COLOR]  
[COLOR=#333333][FONT=adobe-clean]I trace this out and I get [object Object] - I am trying to get the coordinates not the object itself.[/FONT][/COLOR]  
[COLOR=#333333][FONT=adobe-clean] [/FONT][/COLOR]  
[COLOR=#333333][FONT=adobe-clean]I tried tracing the vector point and I got the coordinates BUT an error too - couldn’t find the property (x=5, y=2),(x=4, y=3),(x=5, y=4) in vec.Vector.\<Object\>[/FONT][/COLOR]  
[COLOR=#333333][FONT=adobe-clean]trace(tileVector[visitedVector]);[/FONT][/COLOR]  
[COLOR=#333333][FONT=adobe-clean] [/FONT][/COLOR]  
[COLOR=#333333][FONT=adobe-clean]Well, I want those vector coordinates so my animation mc can appear in all the places where the tiles/actors are clicked.[/FONT][/COLOR]
