Skip to content

LuaSPortSensor:physId

since 1.1.0

Get / Set the physId of sensor.

local physId = sensor:physId([physId])

Parameters

Name Type Required Description
physId integer optional

Returns

physId (integer)