Skip to content

@tavora/sdk / inTavoraFrame

Function: inTavoraFrame() ​

inTavoraFrame(): boolean

Defined in: packages/sdk/src/index.ts:821

For the manifest's overlay page: whether it is drawn in one of Tavora's own frames (over the game, on the Overlay page), which keep the size a grows source lists times the scale the user gave it, so a text takes its scale from the frame's height. False in OBS, in the preview window and in Tavoras before 0.23.94: the page then fits itself into whatever window it gets.

Returns ​

boolean

For Tavora 0.24.58 and @tavora/sdk 0.3.20. Code under the MIT License. The Tavora name and logo are not covered by it.