Space Engineers Wiki

New Official Space Engineers wiki

A new official wiki is now available! - at https://spaceengineers.wiki.gg/

This wiki is deprecated in favour of it.

READ MORE

Space Engineers Wiki
Advertisement
Sensor
Icon Block Sensor

Category: Functional Block
Status: Functional

Function:
Triggers events when objects enter or leave its detection range.

Fits small ship
Mass: 61.2 kg

Fits large ship and station
Mass: 61.2 kg

Data Controls: [edit] [purge] (?)

A Icon Block Sensor Sensor is a functional block designed to automatically trigger events. The detection area can be set to any size as large as 50 meters in any direction. Sensors are useful for automation (opening and closing airlocks and hangar doors, automatic lights, protecting players from lethal grinders) or security (proximity alerts, traps).

The block is visually small but occupies a whole block of building space. It exists for large as well as small grid and is very cheap to build.

Here is how to use them:

  1. Place the sensor.
  2. Set up the range.
  3. Set up which targets to detect.
  4. Select which actions to trigger.


For a related block that can detect more events, see also Event Controller.

Set up the range[]

You define the extend of the detection range in six directions: left, right, top, bottom, back, front. The block is right side up when it looks like a one-eyed face with a mouth below, the eye is facing in the "front" direction in terms of range setting.

You can place the sensor any way you want and it will work, you just need to reinterpret the directional labels in the control panel when configuring it relative to where the sensor is facing and not where you are facing.

The minimum extend is 0.1m cube unit around the sensor. The largest extend is 50m.

Tip: To make the detection range visible while testing, first, open any Info Screen and enable the "Show sensors field range" checkbox. Then enable Show on HUD in the individual sensor's control panel.

Set up which targets to detect[]

Sensors can be set to detect any combination of the following:

  • players (not seated!)
    • owner, friendly, neutral, or enemy
  • small ships and small blocks
  • large ships and large blocks
  • floating objects (ores, tools, items)
  • stations and platforms
  • subgrids
  • asteroids

Caveats: Players inside cockpit blocks or cryopods or (control or toilet) seats are not detected as players! Sensors only detect players on foot or jetpacking. If you have an alert/light/vent tied to the presence of a player, sitting down will disrupt the detection. See also the related SEAT mod. Verify whether this has been addressed in version 1.200.

If you want to trigger different actions for different detection targets, set up separate sensors.

If you need a sensor for oxygen levels, use an Air Vent. To detect different events, see also Event Controller.

Set up actions[]

The simplest action is to enable the checkbox for "audible proximity alert". The sensor will quickly tick three times when it is triggered. This option is helpful while testing (assuming you are in audible range) or to purposely alert players of the sensor's presence (at an airlock, for example). To mute the audible proximity alert, disable this setting.

Click the Set up Actions button. Each sensor has two action slots:

  1. The left slot is the action to trigger when the target enters the range.
  2. The right slot is the action to trigger when the target leaves the range.

An action can be anything available in the Control Panel Screen of the grid. To set up an available action, right-click a block icon in the toolbar config and select an action from the icon's menu. The first selection becomes the entering action, and the second becomes the leaving action.

To change an assigned action but keep the block, right-click the slot and select a new action from the menu. To reset the assigned block together with the action, right-click the action slot and select Remove from Toolbar.

You can assign actions to one, or both slots, or leave them empty. But you cannot assign the same action as both entering and leaving action.

The actions are triggered once by the first detected target that enters or leaves, respectively. The action does not automatically repeat while the condition is met.

  • If you need the sensor to trigger more than one action, build a Timer Block, set up your actions inside the timer block, and then make the two sensor actions "timer block start" and "stop".
  • To repeat actions, do the same, but additionally make the last action of the timer block re-start itself, and make the Leaving action stop the timer.

What the colors mean[]

When the light is red, the block is switched off or unpowered, and does not detect anything.

When the light is green, the sensor is powered and ready to detect.

When the light is blue, it has detected something (and has triggered actions, if any were set up).

Usage examples[]

  • Your base detects friendly players inside and automatically opens airlocks close-by. (With additional timer blocks, you can even de- and re-pressurize the airlock to save oxygen.)
  • Your ship detects approaching enemy ships and PBWs, and activates a Sound Block (set to play "enemy detected" or a siren), switches on defense systems, switches on the safe zone, changes the ship lights to "red alert", or similar.
  • A sensor detects floating objects inside the volume of a battle ship and plays a warning sound. When blocks are destroyed, they drop floating scrap which is detected by the sensor as an indicator of damage.
  • A station detects a friendly drone and opens the hangar doors. The drone detects the station and docks and drops off its cargo through a connector or ejector/collector.
  • A construction ship detects players in front of its grinder and welder and automatically switches them off until the player has left the lethal area of effect.
  • A 3D printer welder detects the proximity of the grid being welded and withdraws the welder to not collide when proceeding.
  • Sensors can also switch off and on other sensors, which is useful in a longer action sequence to prevent a new sequence from starting while the first one is ongoing. This is relevant for example for automatic airlocks or docking sequences.

Recipe[]

Icon Block Sensor Sensor
ComponentLarge Ship/Station
Required
Large Ship/Station
Optional
Small Ship
Required
Small Ship
Optional
Icon Item Steel Plate Steel Plate22
Icon Item Computer Computer11
Icon Item Detector Components Detector Components11
Icon Item Construction Comp. Construction Comp.22


Blocks

Functional Blocks

Cockpits & Control
Icon Block Cockpit Cockpit, Icon Block Fighter Cockpit Fighter Cockpit, Icon Block Control Station Control Station, Icon Block Flight Seat Flight Seat, Icon Block Helm Helm, Icon Block Saddle Cockpit Saddle Cockpit, Icon Block Saddle Cockpit Compact Saddle Cockpit Compact, Icon Block Cab Cockpit Cab Cockpit, Icon Block Buggy Cockpit Buggy Cockpit, Icon Block Rover Cockpit Rover Cockpit, Icon Block Passenger Seat Passenger Seat, Icon Block Control Panel Control Panel, Icon Block Control Panel Pedestal Control Panel Pedestal, Icon Block Vertical Button Panel Vertical Button Panel, Icon Block Sci-Fi One-Button Terminal Sci-Fi One-Button Terminal, Icon Block Sci-Fi Four-Button Panel Sci-Fi Four-Button Panel, Icon Block Sci-Fi Control Panel Sci-Fi Control Panel, (Icon Block Inset Button Panel Inset) Icon Block Button Panel Button Panel, Icon Block Button Panel Pedestal Button Panel Pedestal, Icon Block Remote Control Remote Control, Icon Block Custom Turret Controller Custom Turret Controller

Automation
Icon Block Sensor Sensor, Icon Block Timer Block Timer Block, Icon Block Programmable Block Programmable Block, Icon Block Event Controller Event Controller, Icon Block Emotion Controller Emotion Controller, Icon Block AI Basic AI Basic, Icon Block AI Flight AI Flight, Icon Block AI Defensive AI Defensive, Icon Block AI Offensive AI Offensive, Icon Block AI Recorder AI Recorder

Communication
Icon Block Antenna Antenna, Icon Block Beacon Beacon, Icon Block Round Beacon Round Beacon, (Icon Block Top Mounted Camera Top Mounted) Icon Block Camera Camera, Icon Block Laser Antenna Laser Antenna, Icon Block LCD Panel LCD Panel, Icon Block Corner LCD Corner LCD, Icon Block Text Panel Text Panel, Icon Block Wide LCD Panel Wide LCD Panel, Icon Block Transparent LCD Transparent LCD, Icon Block Sci-Fi LCD Panel Sci-Fi LCD Panel, Icon Block Holo LCD Holo LCD, Icon Block Inset LCD Panel Inset LCD Panel, Icon Block Sloped LCD Panel Sloped LCD Panel, Icon Block Curved LCD Panel Curved LCD Panel, Icon Block Ore Detector Ore Detector, Icon Block Sound Block Sound Block

Defense & Offense
Icon Block Decoy Decoy, Icon Block Gatling Gun Gatling Gun, Icon Block Gatling Turret Gatling Turret, Icon Block Interior Turret Interior Turret, Icon Block Rocket Turret Rocket Turret, Icon Block Reloadable Rocket Launcher Reloadable Rocket Launcher, Icon Block Rocket Launcher Rocket Launcher, Icon Block Artillery Artillery, Icon Block Autocannon Autocannon, Icon Block Artillery Turret Artillery Turret, Icon Block Autocannon Turret Autocannon Turret, Icon Block Railgun Railgun, Icon Block Assault Cannon Assault Cannon, Icon Block Assault Cannon Turret Assault Cannon Turret, Icon Block Target Dummy Target Dummy, Icon Block Warhead Warhead, Icon Block Explosive Barrel Explosive Barrel

Power
Icon Block Battery Battery, Icon Block Small Battery Small Battery, Icon Block Large Reactor Large Reactor, Icon Block Small Reactor Small Reactor, Icon Block Solar Panel Solar Panel, Icon Block Colorable Solar Panel Colorable Solar Panel, Icon Block Hydrogen Engine Hydrogen Engine, Icon Block Wind Turbine Wind Turbine, Icon Block Twin-Blade Wind Turbine Twin-Blade Wind Turbine

Life Support
Icon Block Medical Room Medical Room, Icon Block Corner Medical Room Corner Medical Room, Icon Block Survival Kit Survival Kit, Icon Block Cryo Chamber Cryo Chamber, Icon Block Inset Cryo Room Inset Cryo Room, Icon Block Oxygen Farm Oxygen Farm, Icon Block Interior Light Interior Light, Icon Block Offset Light Offset Light, Icon Block Spotlight Spotlight, Icon Block Offset Spotlight Offset Spotlight, Icon Block Inset Light Inset Light, Icon Block Air Vent Air Vent (Icon Block Air Vent Full Full), Icon Block Air Vent Fan Air Vent Fan (Icon Block Air Vent Fan Full Full)

Mobility
Icon Block Gyroscope Gyroscope, Icon Block Atmospheric Thruster Atmospheric Thruster, Icon Block Ion Thruster Ion Thruster, Icon Block Hydrogen Thruster Hydrogen Thruster, Icon Block Parachute Hatch Parachute Hatch, Icon Block Short Wheel Suspension 1x1 (Short) Icon Block Wheel Suspension 1x1 Wheel Suspension 1x1, Icon Block Short Wheel Suspension 2x2 (Short) Icon Block Wheel Suspension 2x2 Wheel Suspension 2x2, Icon Block Short Wheel Suspension 3x3 (Short) Icon Block Wheel Suspension 3x3 Wheel Suspension 3x3, Icon Block Short Wheel Suspension 5x5 (Short) Icon Block Wheel Suspension 5x5 Wheel Suspension 5x5, Icon Block Offroad Wheels Offroad Wheels

Mining & Manufacturing
Icon Block Basic Refinery Basic Refinery, Icon Block Refinery Refinery, Icon Block Basic Assembler Basic Assembler, Icon Block Assembler Assembler, Icon Block Drill Drill, Icon Block Grinder Block Grinder Block, Icon Block Welder Block Welder Block, Icon Block Projector Projector, Icon Block O2 H2 Generator O2/H2 Generator, Icon Block Oxygen Farm Oxygen Farm, Icon Block Yield Module Yield Module, Icon Block Power Efficiency Module Power Efficiency Module, Icon Block Speed Module Speed Module

Storage
Icon Block Large Cargo Container Large Cargo Container, Icon Block Medium Cargo Container Medium Cargo Container, Icon Block Small Cargo Container Small Cargo Container, Icon Block Oxygen Tank Oxygen Tank, Icon Block Hydrogen Tank Hydrogen Tank, Icon Block Store Store, Icon Block Contracts Block Contracts Block

Inventory Management
Icon Block Connector Connector, Icon Block Small Connector Small Connector/Ejector, Icon Block Collector Collector, Icon Block Conveyor Junction Conveyor Junction, Icon Block Conveyor Tube Conveyor Tube Icon Block Reinforced Conveyor Tube (Reinforced), Icon Block Curved Conveyor Tube Curved Conveyor Tube Icon Block Reinforced Curved Conveyor Tube (Reinforced), Icon Block Conveyor Tube T Junction Conveyor Tube T Junction Icon Block Reinforced Conveyor Tube T Junction (Reinforced), Icon Block Conveyor Sorter Conveyor Sorter; Icon Block Small Conveyor Small Conveyor, Icon Block Small Conveyor Tube Small Conveyor Tube Icon Block Small Reinforced Conveyor Tube (Reinforced), Icon Block Small Curved Conveyor Tube Small Curved Conveyor Tube Icon Block Small Reinforced Curved Conveyor Tube (Reinforced), Icon Block Small Conveyor Tube T Junction Small Conveyor Tube T Junction Icon Block Small Reinforced Conveyor Tube T Junction (Reinforced), Icon Block Conveyor Sorter Small Conveyor Sorter; Icon Block Conveyor Frame Conveyor Frame, Icon Block Conveyor Converter Conveyor Converter

Mechanical Blocks & Gravity Control
Icon Block Advanced Rotor Advanced Rotor, Icon Block Rotor Rotor, Icon Block Piston Piston, Icon Block Hinge Hinge, Icon Block Landing Gear Landing Gear, Icon Block Magnetic Plate Magnetic Plate, Icon Block Merge Block Merge Block, Icon Block Artificial Mass Artificial Mass, Icon Block Gravity Generator Gravity Generator, Icon Block Spherical Gravity Generator Spherical Gravity Generator, Icon Block Safe Zone Safe Zone


Advertisement