X3D version 4.0 was approved by Web3D Consortium and ISO in 2023. X3D version 4.0 offers many new features including interoperability with HTML5, glTF 2.0 Physically Based Rendering (PBR), and Web Audio API. <Script DEF='MoveCylinder'> <field name='spine' accessType='inputOutput'/> must define function set_spine (newValue) <Script name='' DEF='MoveCylinder'> <field name='endA' value='0 0 0'/> field initialization not allowed when IS/connect is also defined <Script DEF='MoveCylinder'> <field name='endA' accessType='inputOutput'/> does not send output event via assignment statement endA=___; <Script name='' DEF='MoveCylinder'> <field name='endB' value='50 50 50'/> field initialization not allowed when IS/connect is also defined <Script DEF='MoveCylinder'> <field name='endB' accessType='inputOutput'/> does not send output event via assignment statement endB=___;