Skip to content

Global Class "Minimap"⚓︎

Info

You can get this class by using the Minimap global table.

Note that to call these functions, you must use a . (period) instead of a : (colon)!

Example Code
1
local size = Minimap.GetDisplayedSize()

Functions⚓︎

GetDisplayedSize ()⚓︎

Vector GetDisplayedSize ( )⚓︎

Returns the current display size of the minimap. When not expanded this is always Vector(47,47).


GetHoldTime ()⚓︎

int GetHoldTime ( )⚓︎


GetIconsSprite ()⚓︎

Sprite GetIconsSprite ( )⚓︎


GetItemIconsSprite ()⚓︎

Sprite GetItemIconsSprite ( )⚓︎


GetShakeDuration ()⚓︎

int GetShakeDuration ( )⚓︎


GetShakeOffset ()⚓︎

Vector GetShakeOffset ( )⚓︎


GetState ()⚓︎

MinimapState GetState ( )⚓︎


SetHoldTime ()⚓︎

void SetHoldTime ( int Time )⚓︎


SetShakeDuration ()⚓︎

void SetShakeDuration ( int Duration )⚓︎


SetShakeOffset ()⚓︎

void SetShakeOffset ( Vector Offset )⚓︎


SetState ()⚓︎

void SetState ( MinimapState State )⚓︎