Sandbox.ModAPI.Ingame.IMyProgrammableBlock.TryRun - bimbam2103/space_engineers GitHub Wiki

IndexNamespace IndexIMyProgrammableBlock

Summary

public bool TryRun(string argument)

Attempts to run this programmable block using the given argument. An already running programmable block cannot be run again. This is equivalent to runningblock.ApplyAction("Run", argumentsList);This should be called from an ingame script. Do not use in mods.

Returns

bool

trueif the action was applied,falseotherwise

Parameters

⚠️ **GitHub.com Fallback** ⚠️