About 2D UI Actors

User-interface actors (UI actors) are 2D actors that enable you to interact with an experience in the playing mode.

You can create and customize different types of 2D UI actors such as text, image, or button.

Two types of 2D UI actors are available in the app:

  • First generation of UI actors (before R2022x FD01 (FP.2205)): these actors are still supported but deprecated. This means that you can still use them in your experience but you can no longer create them.
  • Second generation of UI actors (from R2022x FD01 (FP.2205) onward): this type of 2D UI actors is consistent with 3D UI actors. Moreover, there is a dedicated section for each 2D UI actor in the JavaScript guide. This new generation of UI actors adds more controls to the JavaScript SDK.

    These new actors share most of the same properties with the first generation of UI actors.