here is the smallest version I can think of
make on sprite object and give it the sine behaviour
set the sine movement to size and period to 4, magnitude 50
in events
system > on start of layout | objSprite > set sine active
| system > wait 1 second
| objSprite > set sine inactive