Skip to content
← Back to Index

OnAssetCommands

This hook runs after commands have been applied to an Asset Actor from the create or applyCommands message. Commands returned from rules does not trigger the hook again.

Type

filtrera
{
  hook: 'OnAssetCommands'
  before: Asset // The asset before the commands were applied
  asset: Asset // The asset after the commands were applied
}

Effects

assetCommand Applies additional commands to the asset actor. Commands returned from rules do not trigger the hook again.

© 2024 Hantera AB. All rights reserved.