go into project add a script and add the custom block to it and then a when flag clicked do custom data.