Category:Behaviors

Sprite stops doing the specified behavior.

(Opens YouTube in new tab)

How To Make A Sprite

For more information see Adding and Removing Behaviors.

Examples

Parameters

NameDescription
behavior The selected the behavior to stop
sprite The sprite or sprite group stopping the behavior

Tips

  • Connect this block to events like sprite clicked. Code is executed quickly in Sprite Lab. If you tell a sprite to begin a behavior and then tell it to stop in the same sequence of code, there is not enough time to see the behavior in action.

Found a bug in the documentation? Let us know at documentation@code.org