Skip to main content

Door

This module provides functions to control a door.

Functions

open()

Opens the door

Example

local door = require('door')

function onStart()
-- Opens the door
door.open()
end

close()

Closes the door

Example

local door = require('door')

function onStart()
-- Closes the door
door.close()
end