BlzFrameGetParent
- Parameters
frame framehandle- comment
Returns the frame's current parent.
- bug
Calling this on a top-level frame can crash the game.
- note
The first call that returns a parent not yet known to the map script consumes a handle ID. Acquire it for all players before using it inside local-only UI code.
- async
- This function is asynchronous. The values it returns are not guaranteed to be the same for each player. If you attempt to use it in an synchronous manner it may cause a desync.
- patch
1.31.0.11889
- Source
- common.j (raise an issue to discuss on Github or submit a PR)
- return type
framehandle- Source code
native BlzFrameGetParent takes framehandle frame returns framehandle