ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. guiGetProperties

Function

guiGetProperties

ClientInterface (GUI)Identical to MTA:SA

Returns all control properties, including built-in ones (kind, text, position, size...). Useful for debugging.

Syntax

table guiGetProperties(element guiElement)

Arguments

guiElementelement
The control.

Returns

A table of properties.

Example

for k, v in pairs(guiGetProperties(win)) do
    outputConsole(k .. " = " .. tostring(v))
end