# Problem with camera

**URL:** <https://forums.unrealengine.com/t/problem-with-camera/1238402>\
**Category:** C++\
**Tags:** socket, bone, unreal-engine, skeletalmesh, CPP\
**Created:** [July 24, 2023, 9:29am UTC](https://forums.unrealengine.com/t/problem-with-camera/1238402 "2023-07-24T09:29:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sa1lim.RAM](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sa1lim.ram/32/681130_2.png) [@sa1lim.RAM](https://forums.unrealengine.com/u/sa1lim.RAM)\
**Post date:** [July 24, 2023, 9:29am UTC](https://forums.unrealengine.com/t/problem-with-camera/1238402/1 "2023-07-24T09:29:55Z")

</div>

![изображение](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/7/a/e7aeef7cf69a46d9e597843c9cecf8eaa87c8b8c.jpeg)

As u can see CameraComponent is a child of mesh, but i can’t change parent socket. It write that i cannot change socket on inherited components.

P.S. I added CameraComponent from C++ and use these arguments SetupAttachment  
 ![изображение](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/1/211b6a174a495baf1dfaeed0d190762ecf6d2705.png)
