Skip to content

Api > MLStation > GetPlayer()


MLStation.GetPlayer()⚓︎

Gets the MLPlayer object of current station occupant. Returns null if the station is empty.

Returns:⚓︎

type Description
MLPlayer Current player

Usage⚓︎

---@type MLStation
local mlstation;


local val0 = mlstation.GetPlayer()