Vizard 7 » Command Index » Vizard modules » vizact » <vizact>.waittime
7.3

<vizact>.waittime

Create an action that will wait for the given amount of time

<vizact>.waittime(  
seconds  
)  
seconds
The number of seconds to wait

Remarks

After you have created the action you can add it to any object as many times as you want.

Return Value

An action that can be applied to any <node3d> object

Example

#Create an action that will fade an object in, wait for 2 seconds, then fade it back out.
fadeInOut = vizact.sequence(vizact.fadeTo(1,time=1),vizact.waittime(2),vizact.fadeTo(0,time=1))

object.add(fadeInOut)

See also

<vizact>.fadeTo
<vizact>.sequence
<vizact>.waitkey