but i guess you want sth like: a regular function $X\rightarrow U_1\cup_{U_0}U_2$ is the same as a choice of two open subsets $V_1,V_2\subseteq X$ and regular functions $f_i\colon V_i\rightarrow U_i,\,i=1,2$ s.t. $f_1^{-1}(U_0)=f_2^{-1}(U_1)$ and $f_1,f_2$ agree on this set