Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.IMyProgrammableBlock.TryRun

Malware edited this page Dec 25, 2018 · 18 revisions

IndexIMyProgrammableBlock

Summary

private public abstract virtual TryRun
```csharp

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

### Returns

`true`if the action was applied,`false`otherwise

### Example

### Remarks

Clone this wiki locally