# Viewpoint attached to an object

**URL:** <https://tech-community.robotics.abb.com/t/viewpoint-attached-to-an-object/9726>\
**Category:** RobotStudio\
**Created:** [September 30, 2020, 9:33am UTC](https://tech-community.robotics.abb.com/t/viewpoint-attached-to-an-object/9726 "2020-09-30T09:33:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![edoits](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@edoits](https://tech-community.robotics.abb.com/u/edoits)\
**Post date:** [September 30, 2020, 9:33am UTC](https://tech-community.robotics.abb.com/t/viewpoint-attached-to-an-object/9726/1 "2020-09-30T09:33:20Z")

</div>

Hi,  
can i attach a viewpoint to an object?

if during the simulation the object moves, the point of view will do accordingly?

waiting for reply,  
best regards,  
Edoardo

---

<div class="post-metadata">

**Author:** ![dnilsson](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/dnilsson/32/795_2.png) [@dnilsson](https://tech-community.robotics.abb.com/u/dnilsson)\
**Post date:** [October 13, 2020, 9:16am UTC](https://tech-community.robotics.abb.com/t/viewpoint-attached-to-an-object/9726/2 "2020-10-13T09:16:28Z")

</div>

Here’s an example using robotStudio API:

> **[FollowObject - Class Camera](https://developercenter.robotstudio.com/api/robotstudio/api/ABB.Robotics.RobotStudio.Stations.Camera.html#ABB_Robotics_RobotStudio_Stations_Camera_FollowObject)**
>
> Represents a camera that can be used to control the view of a GraphicControl.
