PlutoUI is a set of functions that wrap HTML input controls to make it easier to create sliders, etc. in a Pluto notebook. You can bind any variable to the slider, and refer to the variable in a plot command, or anywhere else. It won’t solve your problem of using an undefined function. See my notebook for example code.