In a medium saucepan over medium-high heat, combine the sugar, milk, corn syrup, & butter. Heat while stirring until the mixture comes to a full rolling boil. Let it boil while stirring for 3 minutes. Remove the pot from heat & stir in the vanilla extract along with the coconut/pecan mixture. Stir the mixture well to combine after you remove it from the heat.