# Update beta value of ArcRotateCamera dynamically using Declarative format

**URL:** <https://forum.babylonjs.com/t/update-beta-value-of-arcrotatecamera-dynamically-using-declarative-format/33808>\
**Category:** Questions\
**Tags:** react, arcrotatecamera\
**Created:** [September 9, 2022, 3:32pm UTC](https://forum.babylonjs.com/t/update-beta-value-of-arcrotatecamera-dynamically-using-declarative-format/33808 "2022-09-09T15:32:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chipmate](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@chipmate](https://forum.babylonjs.com/u/chipmate)\
**Post date:** [September 9, 2022, 3:32pm UTC](https://forum.babylonjs.com/t/update-beta-value-of-arcrotatecamera-dynamically-using-declarative-format/33808/1 "2022-09-09T15:32:09Z")

</div>

I want to update beta value of ArcRotateCamera dynamically using Declarative format. But not getting updated. Alpha is getting updated, but not beta.

\<arcRotateCamera  
name=“camera”  
target={new Vector3(vehicleStyle.targetx, vehicleStyle.targety, vehicleStyle.targetz)}  
alpha={cameraPosition?.alpha}  
beta={cameraPosition?.beta}  
radius={vehicleStyle.radious}  
lowerRadiusLimit={vehicleStyle.radious}  
upperRadiusLimit={vehicleStyle.radious}  
/\>

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [September 9, 2022, 4:23pm UTC](https://forum.babylonjs.com/t/update-beta-value-of-arcrotatecamera-dynamically-using-declarative-format/33808/2 "2022-09-09T16:23:26Z")

</div>

cc @RaananW who started answering here: [Alpha/beta not respected on ArcRotateCamera - #12 by RaananW](https://forum.babylonjs.com/t/alpha-beta-not-respected-on-arcrotatecamera/14058/12)

---

<div class="post-metadata">

**Author:** ![chipmate](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@chipmate](https://forum.babylonjs.com/u/chipmate)\
**Post date:** [September 9, 2022, 5:02pm UTC](https://forum.babylonjs.com/t/update-beta-value-of-arcrotatecamera-dynamically-using-declarative-format/33808/3 "2022-09-09T17:02:24Z")

</div>

@RaananW I am not able to update beta parameter in declarative way by taking reference of above example. Can you please help me with this?

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [September 9, 2022, 5:33pm UTC](https://forum.babylonjs.com/t/update-beta-value-of-arcrotatecamera-dynamically-using-declarative-format/33808/4 "2022-09-09T17:33:22Z")

</div>

My answer stays the same - i have no idea what syntax this is, or the entire context of this question. If you want to ask if setting `camera.beta` works, i guaranty you that it does. It doesn’t in YOUR context, so you will have to provide information about your context if you hope for any help.
