lovr.mount

Edit

The lovr.mount callback is called when the headset is put on or taken off.

function lovr.mount(mounted)
  -- your code here
end

Arguments

NameTypeDescription
mountedboolean Whether the headset is mounted.

Returns

Nothing

See also