Click or drag to resize
IMyProgrammableBlockTryRun Method
v01.180.0 (Beta)

[This is preliminary documentation and is subject to change.]

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.

Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
bool TryRun(
	string argument
)

Parameters

argument
Type: SystemString

Return Value

Type: Boolean
true if the action was applied, false otherwise
See Also