Running img move carot

From Sim Innovations Wiki
Jump to navigation Jump to search



running_img_move_carot is used set the carot of a running image object. Changing the carot will make the running image object scroll.

Return value

This function won't return a value.


# Argument Type Description
1 running_img_id Number The running image id of which to move the carot
2 position Number The position to move the carot to.


-- This will generate 7 image_objects circularly, with a radius of 350.
my_running_img_id = running_img_add_cir("picture.png",100,100,7,200,100, 350)

-- Set carot to 1
running_img_move_carot(my_running_img_id , 1)

-- Or to 2...
running_img_move_carot(my_running_img_id , 2)