# How can I copy camera transform to an actor ?

**URL:** https://discourse.vtk.org/t/how-can-i-copy-camera-transform-to-an-actor/14987
**Category:** Support
**Created:** [December 9, 2024, 11:10am UTC](https://discourse.vtk.org/t/how-can-i-copy-camera-transform-to-an-actor/14987 "2024-12-09T11:10:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Seb-surgar](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@Seb-surgar](https://discourse.vtk.org/u/Seb-surgar)
#### Post date: [December 9, 2024, 11:10am UTC](https://discourse.vtk.org/t/how-can-i-copy-camera-transform-to-an-actor/14987/1 "2024-12-09T11:10:33Z")

</div>

Hello,  
I want to have an actor thet represents the camera with the same orientation and position than the camera.  
I would like to attach objects to this “root camera” actor to simplify the positionning of different elements that needs to be attached to the camera.

I have tried to get the camera orientation and position and affect it to the vtkActor but it is not working. A simple cube attached to the “root camera” actor is not staying at the good place.

So, can you tell me how to do that ?

Thank in advance
