Documentation

​
​

Development

User Acquisition

Monetization

Industry

Unity Studio

Open Unity Studio

Unity Studio

​
​
Unity Studio
  • What's new in Unity Studio
  • Introduction to Unity Studio
  • Launch Unity Studio
  • Create your first Unity Studio project
  • Develop with Unity Studio
    • The Unity Studio interface
    • Save your progress
    • GameObjects
    • Assets
    • Materials
    • Scene settings
    • Logic
      • Introduction to Logic
      • Create a Logic script
      • The Logic Editor interface
      • Methods, variables, and parameters
      • Nodes
        • Event Listener nodes
        • Event nodes
        • Action nodes
          • MoveByValue node
          • MoveToValue node
          • ScaleToValue node
          • ScaleByValue node
          • RotateByValue node
          • RotateToValue node
          • Set Active node
          • Wait node
          • Set Text node
          • Wait Until node
          • Instantiate node - expression
          • Instantiate node - statement
          • Destroy node
          • Set variable value node
          • Play animation node
          • Pause animation node
          • Stop animation node
        • Constant nodes
        • Flow Control nodes
        • Operator nodes
        • Utility nodes
      • Logic examples
    • The UI Creator
    • Animation
    • AI features
  • Collaborate in Unity Studio
  • Export drafts to the Unity Editor
  • Publish and share
  • Troubleshooting Unity Studio issues
  • Report bugs and share feedback
  • Manage your analytics and marketing preferences
  1. Unity Studio
  2. Develop with Unity Studio
  3. Logic
  4. Nodes
  5. Action nodes

RotateToValue node

Rotate a GameObject to a specified rotation over a set duration.
Read time 1 minute
Last updated 10 months ago

Use the RotateToValue node to rotate a GameObject to a specified rotation over a set duration.

Sockets

Socket

Type

Description

Object
GameObject
The GameObject you want to rotate.
Value
Vector3
The target rotation for the GameObject.
  • x: The target rotation around the x-axis in degrees.
  • y: The target rotation around the y-axis in degrees.
  • z: The target rotation around the z-axis in degrees.
Seconds
float
The duration in seconds over which to rotate the GameObject.
useLocalRotation
bool
Enable to rotate the GameObject using its local rotation.
Disable to rotate the GameObject using its global rotation.
Wait
bool
Enable to wait for the rotation to complete before it continues to the next node.
Disable to continue to the next node immediately.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Sockets


Report a problem with this page