If something is up to someone, that person has the choice or duty to decide what to do.
You can choose to come with us or stay home; it will be up to you.
你可以選擇跟我們一起去或留在家裡;這將由你決定。