-
-
Notifications
You must be signed in to change notification settings - Fork 5
GetDisplayCollect
Anthony Headley edited this page Apr 22, 2020
·
1 revision
Gets an table of connected displays
Name | Type | Description | Optional -- | -- | --
⚠ Needs more information of structure of returned data object ⚠
Type | Description userdata | an array of userdata objects representing a display nil | If the display does not exist of is not connected.
local d = GetDisplayCollect()
for i = 1, d.count, 1 do
if d[i] == nil then
Echo("%d nil", i) -- x nil
else
Echo("%d %s", d[i].index, d[i].name) -- x Display x
end
end