Version

menu_open
Wwise SDK 2024.1.0
ak.wwise.ui.layout.getElementRectangle

Retrieves the current allocated rectangle of a layout element. An empty rect is returned if the element is not found.

Arguments

Name Type Description
id * string The ID of the element.

(Required *)

Arguments Schema

Result

Name Type Description
left number The left position of the element.
top number The top position of the element.
right number The right position of the element.
bottom number The bottom position of the element.

Result Schema

Examples

Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise