diff --git a/editor/js/Sidebar.Geometry.CapsuleGeometry.js b/editor/js/Sidebar.Geometry.CapsuleGeometry.js index d6ea85d06c5b5e..03706dddefe148 100644 --- a/editor/js/Sidebar.Geometry.CapsuleGeometry.js +++ b/editor/js/Sidebar.Geometry.CapsuleGeometry.js @@ -26,7 +26,7 @@ function GeometryParametersPanel( editor, object ) { // length const lengthRow = new UIRow(); - const length = new UINumber( parameters.height ).onChange( update ); + const length = new UINumber( parameters.length ).onChange( update ); lengthRow.add( new UIText( strings.getKey( 'sidebar/geometry/capsule_geometry/length' ) ).setWidth( '90px' ) ); lengthRow.add( length );