repeat

fun Action.repeat(times: Int): RepeatAction

This action will be wrapped wit ha RepeatAction that repeats itself for the given amount of times.

Return

RepeatAction with times repetitions limit.

Parameters

times

amount of repetitions to perform. If 0 or negative, the action will not be executed.

See also

RepeatAction