white-logo

KappaX

burger-icon
search-icon

/

Action Verbs

In this article, we will explore the action verbs used in Logic writing within KappaX. When writing logic in KappaX, you are presented with a list of action verbs that can be applied to various layers. Let's dive into the details of these actions and how they can be used.

Show and Hide

  • Show & Hide actions set the visibility of a layer on the artboard.
  • Compatible elements- All
  • Parameters- Layer Id
  • Each layer has a visibility property. After a layer is placed on the Artboard, you can set the Visibility property to Visible or Hidden via the properties panel. Visibility can also be changed via Show & Hide actions in the Logic writer. You can hide and show a layer based on events like click, time, etc. 

Show Hide1

  • How to use it?
    Select the Show/Hide action then select the layer from the suggestion list.

Show Hide2

Play and Pause

  • The ‘Play’ & ‘Pause’ actions are used to make audio and videos play or pause in KappaX.
  • Compatible elements - Video, audio layer & artboard in KappaX.
  • Parameters- Layer Id
  • Play & Pause action is equivalent to clicking on the video play-pause button.
  • How to use it?
    Select Play/Pause action from the list. Then select the layer you want to play or pause.

Play Pause 1

Seek

  • The ‘Seek’ action in KappaX is used to skip a part of the video or to jump to a particular time stamp in the video. 
  • Compatible elements - Video, audio
  • Parameters - Time, Layer ID

Seek3

  • Seek action lets you skip to a certain timestamp in the video. Think of it as jumping to a scene or seeking to 5 seconds. This action requires you to specify the video layer you want to seek and the seek time. Seek time has two variants.
    Seek by - This adds the seek time to the current time. For example, if the video is playing at 5 seconds and the seek time is 2 seconds then the video will jump to 7 seconds.

Seek2

Seek to - This seeks the video the seek time. Example. If the seek time is 2 seconds then the video will jump to 2 seconds. 

Seek1

  • How to use it?
    Select seek then select the layer. The logic writer will ask to choose between ‘to’ or ‘by’ options and then fill in the seek time in seconds. 

Mute and Unmute

  • These actions are used to turn the volume on and off. 
  • Compatible elements - Video, audio & artboard 
  • Parameters- Layer Id
  • You can mute/unmute a layer via logic based on user interactions. For example - you have two videos and a button on the artboard. With a click of a button, you can control the mute state of the videos. 
  • How to use it?
    Select mute/unmute, then select the layer from the suggested list.

Mute Unmute

Open

  • This action opens a link in a new tab.
  • Compatible elements -  All
  • Parameter - URL
  • Create redirection buttons with the Open action. It takes an HTTPS link as a parameter
  • How to use it?
    Select Open then write the HTTPS link. Example Open https://google.com

Open

Set

  • The ‘Set’ action is used to update certain values through logic in KappaX. 
  • Compatible properties - X, Y, Width, Height, Opacity, Image, Volume, Border Radius, Background Color, and Custom attributes
  • Parameters- Property type, Layer id, Property value
  • KappaX lets you set the property value of a layer dynamically via the logic writer. You can change the properties based on any kind of event like click, or time. For example, you can resize a layer by setting its width. 
  • How to use it?
  • How to use it?
    Select the set action then select the property type from the suggestions. Then select the Layer ID and write the new property value.

Set

Reset

  • The ‘Reset’ action is used to set the image element to the default one assigned to it. 
  • Compatible elements - Image
  • Parameters- Layer Id 
  • The image layer has a media property that can be set via the properties panel. You can change media dynamically via logic writer as well. Reset is used to revert the media property to its original value. 
  • How to use it?
    Select the reset action, then select the layer from the suggestion list.

Re Set

Switch

  • The ‘Switch’ action is used when you have layouts in multiple aspect ratios & you want to switch to a particular layout while the experience is playing. 
  • Compatible property - Layout Id
  • Parameters - Layout
  • You can switch between layouts based on events like click, time etc. 
  • How to use it?
    Select the Switch action and then select the layout name.

Switch

Ping

  • The ‘Ping’ action is used to track the interactions made on the Kappa experience and sends it to the third-party server.  
  • Compatible elements -  All
  • Parameter - URL
  • KappaX lets you track the interactions, collect the data & send it to the third party using Ping action. It is added to all the clickable layers on the click event.
  • How to use it?
    Select Ping then write the tracking URL. Example Ping https://google.com/xyz123

Ping

Force Show and Force Hide

  • The ‘Force Show’ or ‘Force Hide’ action is used to make the layer forcefully visible or hidden on the artboard irrespective of whether it is hidden or shown at any point through logic or timeline.
  • The ‘Force Show’ or ‘Force Hide’ action is used to override the visibility of the element which has been set using Show, Hide, or visibility changes caused due to timeline.
  • Compatible elements - All
  • Parameter - Layer Id 
  • It is used mostly in case of complex logic. For example, you have hidden a layer through logic now you want to show it at some point using the ‘Show’ action but it’s not happening due to the conflict in the logic. Then, you can force-show the layer in action and it will override the conflict.
  • How to use it?
    Select the Force Show/ Force Hide action then select the layer from the suggestion list.

Force Show Hide

Clear Force Visibility

  • The ‘Clear Force Visibility’ action is used to overcome the impact of ‘force hide’ or ‘force show’ actions. 
  • Compatible elements -  All
  • Parameter - Layer Id 
  • Clear Force Visibility lets you overcome the impact of ‘Force show’ and ‘Force hide’ actions.
  • How to use it?
    Select the Clear Force Visibility action then select the layer from the suggestion list.

Clear Force Visibility

Skip

  • The ‘Skip’ action is used when the Kappa experience is served as an ad. As the name suggests it will be used to skip the ad based on the click event. 
  • Compatible elements -  All
  • Parameter - Automatically takes advert 
  • How to use it?
    Select the Skip action in the logic.

Skip

End

  • The ‘End’ action is used when the Kappa experience is served as an ad. 
  • Compatible elements -  All
  • Parameter - Automatically takes advert
  • It depends on the creator of the project or the person who will run the Kappa experience as an ad to decide when the ad should end & counted as a completed ad view. It can be achieved on events like time of video/artboard, click, etc.
  • How to use it?
    Select the End action in the logic.

End

On this page

Show and Hide

Play and Pause

Seek

Mute and Unmute

Open

Set

Reset

Switch

Ping

Force Show and Force Hide

Clear Force Visibility

Skip

End