There is already a command to do this ...
http://www.blitzbasic.com/b3ddocs/command.php?name=FindChild&ref=3d_a-z
Your function also does not search recursively so will not find children of children etc...
Stevie
http://www.blitzbasic.com/b3ddocs/command.php?name=FindChild&ref=3d_a-z
Your function also does not search recursively so will not find children of children etc...
Stevie