I am trying to make a script tool that shows the extent of a raster. The tool runs in ArcPro without an error, but doesn't produce results of the extent of the raster. Is there any line of code I am missing to show the extent of my input raster?
ws = r"C:\Users\tophe\Documents\ArcGIS\Projects\Programming\rasters"
arcpy.env.workspace = ws
inFC = arcpy.GetParameterAsText(0)
desc = arcpy.Describe(inFC).extent
workspace = r"C:\Users\tophe\Documents\ArcGIS\Projects\Programming\rasters"